package com.zb.entity.base;
import java.util.List;

/**
 * JsonForHardware
 * @param <T>
 */
public class JsonForList<T> implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8457037431122637113L;
	private String code;
	private String msg;
	private List<T> list;
	
	public JsonForList() {
	}
	
	public JsonForList(List<T> list,String code,String msg) {
		this.list = list;
		this.code = code;
		this.msg = msg;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	public static final String SuccessCode = "200";
	
	public static final String FailCode = "400";
}
